﻿<?php
include("parameter.php");
?>

<div id="admincontent">
 <fieldset style="border:none">
<?php 
	if($this->session->flashdata('message'))
	{ 
?>
<div id="sponsorAdDiv" style="visibility:hidden">
<table width="305px" height="50px" bgcolor="#FF0000"><tr><td>
<table width="300px" height="45px" bgcolor="#FFFFCC"><tr><td align="center" valign="middle">
<?php echo $this->session->flashdata('message'); ?>
</p>
</td></tr></table></td></tr></table>
</div>
<?php
	}
?>
<form action="<?php echo base_url().index_page(); ?>/adminpage/cpanel/update_config/" method="post" name="adminForm" id="adminForm" autocomplete="off" enctype="multipart/form-data">
<div>

	<div>
		<label for="cphone">Menu in Frontpage</label>
		<textarea id="cmenu_frontpage" name="menu_frontpage" cols="38" rows="3"><?php echo $menu_frontpage; ?></textarea>
	</div>
	<!--<div>
		<label for="cfax">Open time:</label>
		<input id="cfax" name="opentime" type="text" size="50" maxlength="50" value="<?php //echo $opentime; ?>"/>
	</div>
	<div>
		<label for="caddress"><?php echo $this->lang->line('address'); ?></label>
        <textarea id="caddress" name="address" cols="38" rows="3"><?php //echo $address; ?></textarea>
	</div>-->
</div>
		<input type="hidden" name="id" value="" />
		<input type="hidden" name="component" value="com_config" />
		<input type="hidden" name="option" value="config" />
		<input type="hidden" name="myurl" value="<?php echo base_url().index_page().$this->uri->uri_string(); ?>" />
 </fieldset>
 </form>
</div>
<div align="center">
<div class="toolbar">
<table width="100px" border="0" align="center" cellpadding="5">
  <tr>
    <td align="center"><a onclick="javascript: document.forms['adminForm'].submit();" href="#"><span class="icon-32-save" title="<?php echo $this->lang->line('save'); ?>"> </span><?php echo $this->lang->line('save'); ?></a></td>
    <td align="center"><a onclick="javascript: submitbutton('cancel')" href="#"><span class="icon-32-cancel" title="<?php echo $this->lang->line('cancel'); ?>"> </span><?php echo $this->lang->line('cancel'); ?></a></td>
  </tr>
</table>
</div>
</div>
<script>
function checkvalidate() 
{
		return 1;
}
</script>